<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="Responsive Web UI Kit &amp; Dashboard Template based on Bootstrap">
    <meta name="author" content="AdminKit">
    <meta name="keywords" content="adminkit, bootstrap, web ui kit, dashboard template, admin template">

    <link rel="shortcut icon" href=/statics/img/icons/icon-48x48.png"/>

    <title>欢迎登录</title>

    <link href="/statics/css/app.css" rel="stylesheet">
</head>

<body>
<div class="wrapper">
    <div class="main">
        <main class="content">
            <div class="container-fluid p-0">
                <div class="col-12 col-xl-6">
                    <div class="card">
                        <div class="card-header">
                            <h5 class="card-title">Basic form</h5>
                            <h6 class="card-subtitle text-muted">欢迎登录...</h6>
                        </div>
                        <div class="card-body">
                            <form action="/login" method="post">
                                <div class="form-group">
                                    <label class="form-label">用户名</label>
                                    <input type="text" name="userNo" class="form-control" placeholder="用户名">
                                </div>
                                <div class="form-group">
                                    <label class="form-label">密码</label>
                                    <input type="password" name="password" class="form-control" placeholder="密码">
                                </div>
                                <div class="form-group">
                                    <label class="custom-control custom-checkbox">
                                        <input type="checkbox" class="custom-control-input">
                                        <span class="custom-control-label">记住我</span>
                                    </label>
                                </div>
                                <button type="submit" class="btn btn-primary" id="subBtn">登录</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </main>

        <footer class="footer">
            <div class="container-fluid">
                <div class="row text-muted">
                    <div class="col-6 text-left">
                        <p class="mb-0">
                            <a href="#" class="text-muted"><strong>AdminKit Demo</strong></a> &copy;
                        </p>
                    </div>
                    <div class="col-6 text-right">
                        <ul class="list-inline">
                            <li class="list-inline-item">
                                <a class="text-muted" href="#">Support</a>
                            </li>
                            <li class="list-inline-item">
                                <a class="text-muted" href="#">Help Center</a>
                            </li>
                            <li class="list-inline-item">
                                <a class="text-muted" href="#">Privacy</a>
                            </li>
                            <li class="list-inline-item">
                                <a class="text-muted" href="#">Terms</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </footer>
    </div>
</div>

<script src="/statics/js/vendor/vendor.js"></script>
<script src="/statics/js/app.js"></script>
<!--<script src="/statics/js/modules/jquery-3.6.0.min.js"></script>-->

<script>
    // $(document).ready(function(){
    //     $("#b01").click(function(){
    //         htmlobj=$.ajax({url:"/jquery/test1.txt",async:false});
    //         $("#myDiv").html(htmlobj.responseText);
    //     });
    // });

    // $("#subBtn").on("click", function () {
    //     var data = {
    //         userNo: $('input[name="userNo"]').val(),
    //         password: $('input[name="password"]').val(),
    //     }
    //     $.ajax({
    //         url: "/login",
    //         contentType: "application/json",
    //         type: "post",
    //         data: JSON.stringify(data),
    //         error: function (data, status) {
    //             alert(data + " \nfff" + status);
    //         }
    //     })
    // })
</script>

</body>

</html>